<?php for ($i=0; $i<count($story['StoryComment']);$i++){
           // var_dump($stories[$i]);

            ?>
            <div class="row-fluid"><div class="span12">
            <div class="bs-docs-example">
                <p> 
                    <?php echo  '#'.($i+1).' '.$story['StoryComment'][$i]['StoryComment']['text'].'<br/>'; 
                    
                    if(!is_null($story['StoryComment'][$i]['StoryComment']['creator_id']))
                        echo  '<small>Creado por: '.$story['StoryComment'][$i]['User']['username'].'</small>'; 
                    ?>
                    
                    
                
                </div>
            </div></div>
        <?php } ?>